<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Slime</title>
		<link rel="stylesheet" href="js/layui/css/layui.css" />
		<link rel="stylesheet" id="theSkin" />
		<link rel="stylesheet" href="css/index.css" />
		<link rel="alternate icon" type="image/png" href="images/favicon.png">
		<script type="text/javascript" src="js/layui/layui.all.js" ></script>
		<script>
			var $ = layui.$;
		</script>
		<script type="text/javascript" src="js/setup.js" ></script>
		<script type="text/javascript" src="js/index.js" ></script>
		<script>SLIME_VERSION = "0.3.0"</script>
	</head>
	<body class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo"></div>
			<ul class="layui-nav layui-layout-left"></ul>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item"><a target="_blank" href="https://www.spiderflow.org">帮助文档</a></li>
			</ul>
		</div>
		<div class="layui-side">
			<div class="layui-side-scroll menu-list">
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item layui-nav-itemed layui-this"><a data-link="spiderList.html" title="爬虫列表">爬虫列表</a></li>
					<li class="layui-nav-item layui-nav-itemed"><a data-link="variables.html" title="全局变量">全局变量</a></li>
					<li class="layui-nav-item layui-nav-itemed"><a data-link="functions.html" title="自定义函数">自定义函数</a></li>
					<li class="layui-nav-item layui-nav-itemed"><a data-link="datasources.html" title="数据源管理">数据源管理</a></li>
				</ul>
			</div>
		</div>
		<div class="layui-body">
			<div class="layui-tab" lay-filter="admin-tab" lay-allowClose="true">
		    	<ul id="layuiTab" class="layui-tab-title admin-unselect" unselectable="on" lay-allowClose="false">
			    	<li class="layui-this layui-tab-hidden-close" lay-id="welcome">爬虫列表</li>
		    	</ul>
		    	<div class="layui-tab-content">
		    		<div class="layui-tab-item layui-show">
		    			<iframe src="spiderList.html" width="100%" height="100%" scrolling="yes" frameborder="0"></iframe>
		    		</div>
		    	</div>
		    </div>
		</div>
	</body>
	<script>

		if (!localStorage.getItem("slime_token")) {
			window.location.href = "/login.html"
		}

		$(".layui-logo").append('<span><img src="images/favicon.png" width="50px">Slime ' + SLIME_VERSION + '</span>');
	</script>
</html>